package com.yt.lxh.search;

import com.yt.lxh.common.utils.PrintInterfaceDocumentUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class) //取消数据源自动配置
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.yt.lxh.client.product")
public class luxueheServiceSearchApplication {
    public static void main(String[] args) {
//        SpringApplication.run(luxueheServiceSearchApplication.class, args);
        PrintInterfaceDocumentUtil.initServer(SpringApplication.run(luxueheServiceSearchApplication.class, args));
    }
}
